home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / mint / gcc / gcc261c.zoo / objects / EltNode-h < prev    next >
Encoding:
Text File  |  1994-11-18  |  1.4 KB  |  42 lines

  1. /* Code for interface of Objective-C EltNode objects
  2.    Copyright (C) 1993,1994 Free Software Foundation, Inc.
  3.  
  4.    Written by:  R. Andrew McCallum <mccallum@cs.rochester.edu>
  5.    Dept. of Computer Science, U. of Rochester, Rochester, NY  14627
  6.  
  7.    This file is part of the GNU Objective-C library.
  8.  
  9.    This library is free software; you can redistribute it and/or
  10.    modify it under the terms of the GNU Library General Public
  11.    License as published by the Free Software Foundation; either
  12.    version 2 of the License, or (at your option) any later version.
  13.    
  14.    This library is distributed in the hope that it will be useful,
  15.    but WITHOUT ANY WARRANTY; without even the implied warranty of
  16.    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  17.    Library General Public License for more details.
  18.  
  19.    You should have received a copy of the GNU Library General Public
  20.    License along with this library; if not, write to the Free
  21.    Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  22. */ 
  23.  
  24. /* This file gets included in all the ...EltNode.h files
  25.    Doing this silly #include stuff is a poor substitute for multiple
  26.    inheritance.  sigh.
  27.  
  28.    Pattern:
  29.  
  30.    @interface FooEltNode : FooNode
  31.    #include <objects/EltNode-h>
  32.    @end
  33. */
  34.  
  35.  
  36.  <EltHolding>
  37. {
  38.   elt _element;
  39.   int (*_elt_comparison_function)(elt,elt);
  40. }
  41. - (int(*)(elt,elt)) comparisonFunction;
  42.